package com.easy.cms.material.model;

import jakarta.persistence.Entity;
import jakarta.persistence.Id;

import java.math.BigDecimal;
import java.util.Date;

@Entity
public class OrderMain {
    @Id
    private Long id;
    private BigDecimal totalAmount;
    private int buyerOrganizationId;
    private int sellerOrganizationId;
    private String orderMainNumber;// 主订单编号
    private Integer status;
    private String remark;
    private Date createTime;
    private Date updateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }


    public int getBuyerOrganizationId() {
        return buyerOrganizationId;
    }

    public void setBuyerOrganizationId(int buyerOrganizationId) {
        this.buyerOrganizationId = buyerOrganizationId;
    }

    public int getSellerOrganizationId() {
        return sellerOrganizationId;
    }

    public void setSellerOrganizationId(int sellerOrganizationId) {
        this.sellerOrganizationId = sellerOrganizationId;
    }

    public String getOrderMainNumber() {
        return orderMainNumber;
    }

    public void setOrderMainNumber(String orderMainNumber) {
        this.orderMainNumber = orderMainNumber;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}